import java.util.Observable;

class Super{
  int index = 5;
   public void printVal(){
     System.out.println( "Super" );
   }
}
class Sub extends Super{
  int index = 2;
  public void printVal(){
    System.out.println( "Sub" );
  }
}
public class Runner{
  public static void main( String argv[] ){
   Super sup = new Sub();
   System.out.print( sup.index + ", " );
   sup.printVal();
   Observable observable = new java.util.Observable();

   }
}